FROM python:3-onbuild


ENV  TZ Asia/Shanghai
ENV  ENV testing
EXPOSE 5000

ADD ./  /usr/src/app
CMD python manage.py db upgrade && python manage.py runserver
